package com.google.code.jdbclogger.logging;

public final class Log4JLogger implements Logger {
    private final org.apache.log4j.Logger logger;

    public Log4JLogger() {
	this(DEFAULT_LOGGER_NAME);
    }

    public Log4JLogger(String category) {
	logger = org.apache.log4j.Logger.getLogger(category);
    }

    public void log(String message) {
	logger.info(message);
    }
}
